Skip to content

Fix receive -x according to comment#18738

Open
rkojedzinszky wants to merge 2 commits into
openzfs:masterfrom
rkojedzinszky:issues/18737
Open

Fix receive -x according to comment#18738
rkojedzinszky wants to merge 2 commits into
openzfs:masterfrom
rkojedzinszky:issues/18737

Conversation

@rkojedzinszky

@rkojedzinszky rkojedzinszky commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Motivation and Context

Fixes #18737

Description

The old condition skipped the -x for ANY property whose source wasn't explicitly ZPROP_SOURCE_VAL_RECVD - which caught inherited/default properties too, not just locally-set ones. The new condition correctly skips only when the property is locally-set on the destination (source == fsname), which is the documented intent.

How Has This Been Tested?

Tested with steps described in bug description.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Quality assurance (non-breaking change which makes the code more robust against bugs)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

@github-actions github-actions Bot added the Status: Work in Progress Not yet ready for general review label Jul 4, 2026
Signed-off-by: Richard Kojedzinszky <richard@kojedz.in>
@rkojedzinszky rkojedzinszky force-pushed the issues/18737 branch 2 times, most recently from 5a7dd51 to dabd47b Compare July 4, 2026 16:30
@rkojedzinszky rkojedzinszky marked this pull request as ready for review July 4, 2026 16:31
@github-actions github-actions Bot added Status: Code Review Needed Ready for review and testing and removed Status: Work in Progress Not yet ready for general review labels Jul 4, 2026
Signed-off-by: Richard Kojedzinszky <richard@kojedz.in>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Code Review Needed Ready for review and testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zfs receive -x fails to consistently exclude property across incremental receives

1 participant